<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>登录 - 华为商城</title>
    <link rel="stylesheet" href="css/style.css">
</head>
<body>
    <header class="header">
        <!-- 同首页的导航栏 -->
    </header>

    <main class="auth-container">
        <div class="auth-form">
            <h2>登录华为账号</h2>
            <form id="loginForm">
                <div class="form-group">
                    <label for="email">邮箱/手机号</label>
                    <input type="text" id="email" name="email" required>
                    <span class="error-message"></span>
                </div>
                <div class="form-group">
                    <label for="password">密码</label>
                    <input type="password" id="password" name="password" required>
                    <span class="error-message"></span>
                </div>
                <button type="submit" class="btn-primary">登录</button>
            </form>
            <div class="auth-links">
                <a href="register.html">注册新账号</a>
                <a href="#">忘记密码?</a>
            </div>
        </div>
    </main>

    <script src="js/auth.js"></script>
</body>
</html>